﻿using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
[CustomEditor(typeof(DictionaryScript))]
public class DictionaryScriptEditor : Editor
{
    public override void OnInspectorGUI()
    {
        base.OnInspectorGUI();
        if (((DictionaryScript)target).modifyValues) {
            if (GUILayout.Button("Save Changes"))
            {
                ((DictionaryScript)target).Deserealize();
            }
            
        }
        if (GUILayout.Button("Debug"))
        {
            ((DictionaryScript)target).DebugPrint();

        }
    }
}
